package com.example.ytyproject.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_area_guizhou")
@ApiModel(value="AreaGuizhou对象", description="")
public class AreaGuizhou implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    private String name;

    private String pid;

    private String provinceCode;

    private String cityCode;

    private String areaCode;

    private String streetCode;

    private String committeeCode;

    private Integer committeeType;

    private Integer sort;

    private Integer level;

    @TableField(exist = false)
    private List<AreaGuizhou> children;
}
